package com.beiding.workordersystem.system.service;

import com.beiding.workordersystem.system.entity.AccountEntity;
import org.springframework.security.core.userdetails.UserDetailsService;

//用户相关的操作
public interface AccountService {
    void setPassword(String username, String password);

    void addAccount(AccountEntity accountEntity);

    void resetPassword(String[] ids);

    void deleteById(String accountId);

    AccountEntity loadUserByUsername(String username);

    void changePassword(String oldPassword, String newPassword);
}
